package com.cndcare.msc;

import com.cndcare.msc.handler.NettyClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class InitRunner implements CommandLineRunner {

    @Override
    public void run(String... strings) {
        log.info("netty客户端链接开启");
        new NettyClient().run();
    }

}
